Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry-pick #17650 to 7.x: [Metricbeat] Add static mapping for metricsets in aws module #18101

Merged
merged 2 commits into from
Apr 30, 2020
Merged

Cherry-pick #17650 to 7.x: [Metricbeat] Add static mapping for metricsets in aws module #18101

merged 2 commits into from
Apr 30, 2020

Conversation

kaiyan-sheng
Copy link
Contributor

Cherry-pick of PR #17650 to 7.x branch. Original message:

What does this PR do?

This PR adds static mappings for light weight metricsets in aws module: billing, ebs, elb, lambda, natgateway, sns, transitgateway, usage, vpn.

Why is it important?

To avoid having breaking non TSVB visualisations when there no data in ES to create the respective fields with the dynamic mapping.

This PR is an extension for #17614.

* Add static mapping for metricsets in aws module

(cherry picked from commit 1fbe167)
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Apr 29, 2020
@kaiyan-sheng kaiyan-sheng self-assigned this Apr 29, 2020
@elasticmachine
Copy link
Collaborator

elasticmachine commented Apr 29, 2020

💔 Build Failed

Pipeline View Test View Changes Artifacts preview stats

Expand to view the summary

Build stats

Test stats 🧪

Test Results
Failed 1
Passed 2161
Skipped 559
Total 2721

Test errors

Expand to view the tests failures

  • Name: Build and Test / Metricbeat x-pack / test_server – test_statsd.Test

    • Status: FAILED
    • Age: 1
    • Duration: 5.621
    • Error Details: 'ascii' codec can't decode byte 0xe2 in position 700082: ordinal not in range(128)

Steps errors

Expand to view the steps failures

  • Name: Mage build test
    • Description: mage build test

    • Result: FAILURE

    • Duration: 9 min 27 sec<

    • Start Time: 2020-04-29T21:03:54.710+0000

Log output

Expand to view the last 100 lines of log output

[2020-04-29T21:38:36.686Z] [success] 0.23% test_haproxy.HaproxyTest_0.test_stat_https: 0.5643s
[2020-04-29T21:38:36.686Z] [success] 0.23% test_system.Test.test_memory: 0.5637s
[2020-04-29T21:38:36.686Z] [success] 0.23% test_docker.Test.test_event_fields: 0.5629s
[2020-04-29T21:38:36.686Z] [success] 0.23% test_prometheus.Test.test_stats: 0.5629s
[2020-04-29T21:38:36.686Z] [success] 0.23% test_system.Test.test_load: 0.5601s
[2020-04-29T21:38:36.686Z] [success] 0.23% test_processors.Test.test_include_fields: 0.5599s
[2020-04-29T21:38:36.686Z] [success] 0.23% test_processors.Test.test_contradictory_multiple_actions: 0.5582s
[2020-04-29T21:38:36.687Z] [success] 0.23% test_haproxy.HaproxyTest_3.test_stat_http: 0.5576s
[2020-04-29T21:38:36.687Z] [success] 0.23% test_haproxy.HaproxyTest_1.test_stat_https: 0.5569s
[2020-04-29T21:38:36.687Z] [success] 0.23% test_system.Test.test_process_metricbeat: 0.5557s
[2020-04-29T21:38:36.687Z] [success] 0.23% test_haproxy.HaproxyTest_1.test_stat_http: 0.5547s
[2020-04-29T21:38:36.687Z] [success] 0.23% test_haproxy.HaproxyTest_4.test_stat_https: 0.5546s
[2020-04-29T21:38:36.687Z] [success] 0.23% test_haproxy.HaproxyTest_4.test_stat_http: 0.5544s
[2020-04-29T21:38:36.687Z] [success] 0.23% test_haproxy.HaproxyTest_3.test_stat_https: 0.5506s
[2020-04-29T21:38:36.687Z] [success] 0.23% test_processors.Test.test_multiple_actions: 0.5504s
[2020-04-29T21:38:36.687Z] [success] 0.23% test_processors.Test.test_rename_field: 0.5501s
[2020-04-29T21:38:36.687Z] [success] 0.23% test_processors.Test.test_dropfields_with_condition: 0.5493s
[2020-04-29T21:38:36.687Z] [success] 0.23% test_haproxy.HaproxyTest_2.test_stat_http: 0.5476s
[2020-04-29T21:38:36.687Z] [success] 0.19% test_base.Test.test_start_stop: 0.4547s
[2020-04-29T21:38:36.687Z] [success] 0.18% test_cmd.TestCommands.test_modules_test_error: 0.4349s
[2020-04-29T21:38:36.687Z] [success] 0.17% test_cmd.TestCommands.test_modules_test_filter_no_result: 0.4206s
[2020-04-29T21:38:36.687Z] [success] 0.17% test_cmd.TestCommands.test_modules_test: 0.4186s
[2020-04-29T21:38:36.687Z] [success] 0.17% test_cmd.TestCommands.test_modules_test_filter: 0.4107s
[2020-04-29T21:38:36.687Z] [success] 0.05% test_reload.Test.test_wrong_module_no_reload: 0.1272s
[2020-04-29T21:38:36.687Z] ----------------------------------------------------------------------
[2020-04-29T21:38:36.687Z] Ran 221 tests in 1788.898s
[2020-04-29T21:38:36.687Z] 
[2020-04-29T21:38:36.687Z] OK (SKIP=22)
[2020-04-29T21:38:36.957Z] >> python test: Integration Testing Complete
[2020-04-29T21:38:37.218Z] >> Stopping Docker test environment...
[2020-04-29T21:38:38.235Z] Recording test results
[2020-04-29T21:38:43.397Z] Archiving artifacts
[2020-04-29T21:38:43.978Z] java.lang.InterruptedException: no matches found within 10000
[2020-04-29T21:38:43.978Z] 	at hudson.FilePath$ValidateAntFileMask.hasMatch(FilePath.java:2826)
[2020-04-29T21:38:43.978Z] 	at hudson.FilePath$ValidateAntFileMask.invoke(FilePath.java:2705)
[2020-04-29T21:38:43.978Z] 	at hudson.FilePath$ValidateAntFileMask.invoke(FilePath.java:2686)
[2020-04-29T21:38:43.978Z] 	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3073)
[2020-04-29T21:38:43.978Z] Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from beats-ci-immutable-ubuntu-1604-1588194112053881737.c.elastic-ci-prod.internal/10.224.1.170:60790
[2020-04-29T21:38:43.978Z] 		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1788)
[2020-04-29T21:38:43.978Z] 		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
[2020-04-29T21:38:43.978Z] 		at hudson.remoting.Channel.call(Channel.java:998)
[2020-04-29T21:38:43.978Z] 		at hudson.FilePath.act(FilePath.java:1069)
[2020-04-29T21:38:43.978Z] 		at hudson.FilePath.act(FilePath.java:1058)
[2020-04-29T21:38:43.978Z] 		at hudson.FilePath.validateAntFileMask(FilePath.java:2684)
[2020-04-29T21:38:43.978Z] 		at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:265)
[2020-04-29T21:38:43.978Z] 		at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:80)
[2020-04-29T21:38:43.978Z] 		at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:67)
[2020-04-29T21:38:43.978Z] 		at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
[2020-04-29T21:38:43.978Z] 		at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[2020-04-29T21:38:43.978Z] 		at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[2020-04-29T21:38:43.978Z] 		at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[2020-04-29T21:38:43.978Z] 		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[2020-04-29T21:38:43.978Z] Caused: hudson.FilePath$TunneledInterruptedException
[2020-04-29T21:38:43.978Z] 	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3075)
[2020-04-29T21:38:43.978Z] 	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
[2020-04-29T21:38:43.978Z] 	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
[2020-04-29T21:38:43.978Z] 	at hudson.remoting.Request$2.run(Request.java:369)
[2020-04-29T21:38:43.978Z] 	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
[2020-04-29T21:38:43.978Z] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[2020-04-29T21:38:43.978Z] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[2020-04-29T21:38:43.978Z] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[2020-04-29T21:38:43.978Z] 	at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:93)
[2020-04-29T21:38:43.978Z] Caused: java.lang.InterruptedException: java.lang.InterruptedException: no matches found within 10000
[2020-04-29T21:38:43.978Z] 	at hudson.FilePath.act(FilePath.java:1071)
[2020-04-29T21:38:43.979Z] 	at hudson.FilePath.act(FilePath.java:1058)
[2020-04-29T21:38:43.979Z] 	at hudson.FilePath.validateAntFileMask(FilePath.java:2684)
[2020-04-29T21:38:43.979Z] 	at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:265)
[2020-04-29T21:38:43.979Z] 	at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:80)
[2020-04-29T21:38:43.979Z] 	at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:67)
[2020-04-29T21:38:43.979Z] 	at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
[2020-04-29T21:38:43.979Z] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[2020-04-29T21:38:43.979Z] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[2020-04-29T21:38:43.979Z] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[2020-04-29T21:38:43.979Z] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[2020-04-29T21:38:43.979Z] 	at java.lang.Thread.run(Thread.java:748)
[2020-04-29T21:38:43.979Z] No artifacts found that match the file pattern "**/build/TEST*.out". Configuration error?
[2020-04-29T21:38:44.429Z] + curl -sSLo codecov https://codecov.io/bash
[2020-04-29T21:38:44.692Z] + FILE=auditbeat/build/coverage/full.cov
[2020-04-29T21:38:44.692Z] + [ -f auditbeat/build/coverage/full.cov ]
[2020-04-29T21:38:44.692Z] + FILE=filebeat/build/coverage/full.cov
[2020-04-29T21:38:44.692Z] + [ -f filebeat/build/coverage/full.cov ]
[2020-04-29T21:38:44.692Z] + FILE=heartbeat/build/coverage/full.cov
[2020-04-29T21:38:44.692Z] + [ -f heartbeat/build/coverage/full.cov ]
[2020-04-29T21:38:44.692Z] + FILE=libbeat/build/coverage/full.cov
[2020-04-29T21:38:44.692Z] + [ -f libbeat/build/coverage/full.cov ]
[2020-04-29T21:38:44.692Z] + FILE=metricbeat/build/coverage/full.cov
[2020-04-29T21:38:44.692Z] + [ -f metricbeat/build/coverage/full.cov ]
[2020-04-29T21:38:44.692Z] + FILE=packetbeat/build/coverage/full.cov
[2020-04-29T21:38:44.692Z] + [ -f packetbeat/build/coverage/full.cov ]
[2020-04-29T21:38:44.692Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-04-29T21:38:44.692Z] + [ -f winlogbeat/build/coverage/full.cov ]
[2020-04-29T21:38:44.692Z] + FILE=journalbeat/build/coverage/full.cov
[2020-04-29T21:38:44.692Z] + [ -f journalbeat/build/coverage/full.cov ]
[2020-04-29T21:38:46.639Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18101
[2020-04-29T21:38:46.788Z] [INFO] getVaultSecret: Getting secrets
[2020-04-29T21:38:46.865Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-04-29T21:38:47.694Z] + chmod 755 generate-build-data.sh
[2020-04-29T21:38:47.695Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18101/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18101/runs/2 FAILURE 3475343
[2020-04-29T21:38:48.245Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18101/runs/2/steps/?limit=10000 -o steps-info.json
[2020-04-29T21:38:48.796Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18101/runs/2/tests/?status=FAILED -o tests-errors.json

Copy link
Member

@ChrsMark ChrsMark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Backport lgtm

@kaiyan-sheng kaiyan-sheng merged commit 6b1f2af into elastic:7.x Apr 30, 2020
@kaiyan-sheng kaiyan-sheng deleted the backport_17650_7.x branch April 30, 2020 13:16
@andresrc andresrc removed the needs_team Indicates that the issue/PR needs a Team:* label label May 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants